package cn.ylg.com.baisibudeijie.pro.essence.view.navigation;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;

import cn.ylg.com.baisibudeijie.R;
import cn.ylg.com.baisibudeijie.pro.base.view.navigation.NavigationBuilderAdapter;


/**
 * Created by Dream on 16/5/27.
 */
public class EssenceNavigationBuilder extends NavigationBuilderAdapter {

    public EssenceNavigationBuilder(Context context){
        super(context);
    }

    @Override
    public int getLayoutId() {
        return R.layout.toolbar_essence_layout;
    }

    @Override
    public void createAndBind(ViewGroup parent) {
        super.createAndBind(parent);
        setImageViewStyle(R.id.iv_left,getLeftIconRes(),getLeftIconOnClickListener());
        setImageViewStyle(R.id.iv_right,getRightIconRes(),getRightIconOnClickListener());
    }
}
